#!/bin/bash
lld_port_log=/home/myzabbix/zabbix.lld.port.log
awk -F':' -v c=$1 '{p[$NF]++} END { print p[c] }' ${lld_port_log}